﻿table {
  border-collapse: collapse;
}
table td,
table th {
  padding: 0;
  vertical-align: top;
  text-align: left;
}
.nowrap {
  white-space: nowrap;
}
/* Navigation */
.left {
  text-align: left !important;
  padding-left: 5px !important;
  padding-top: 2px !important;
}
.right {
  text-align: right !important;
  padding-right: 5px !important;
  padding-top: 2px !important;
}
.center {
  text-align: center !important;
  vertical-align: middle !important;
}
.selected {
  text-decoration: none !important;
  font-weight: bold;
}
.MessageBox {
  float: left;
  font-family: Arial, Sans-Serif;
  font-size: 11px;
  font-weight: bold;
  padding-top: 3px 5px;
  margin-left: 20px;
  margin-bottom: 3px;
  margin-top: 2px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border-radius: 3px 3px 3px 3px;
}
/* Add new event -hoverarea */
.addArea {
  display: block;
  color: #fff;
  background-color: #fff;
  height: 7px;
  width: 100%;
  border: none;
}
.addArea:hover {
  background-color: #95b3de;
  cursor: text;
}
/* Event listview */
.listcontainer {
  font-size: 12px;
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
  color: #454545;
  padding: 1px 0 2px 0;
}
.small {
  font-size: 9px;
}
.medium {
  font-size: 11px;
}
.large {
  font-size: 13px;
}
.grey {
  color: #999999;
  font-size: 9px;
}
.event th {
  background-color: #95b3de;
  text-align: left;
  padding: 1px 1px 1px 5px;
  color: #ffffff;
  font-size: 11px;
}
.event td {
  padding: 1px 1px 1px 2px;
  border-bottom: 1px solid #ccc;
}
.event .ItemTemplate {
  display: inline-block;
}
.old td {
  background-color: #e8eefa;
}
.edit td {
  background-color: white;
  border-bottom-color: transparent;
}
.editArea {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}
.editArea:hover {
  background-color: #fff;
  cursor: text;
}
.linkButton {
  cursor: pointer;
  background-color: transparent;
  text-decoration: underline;
  border: 0;
  padding: 0;
  margin-left: 5px;
  font-size: 11px;
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
}
/* jQuery UI Timepicker */
#ui-datepicker-div {
  width: 95%;
  max-width: 500px;
  z-index: 2000 !important;
}
#ui-datepicker-div .ui-datepicker-calendar td a {
  height: 22px;
}
#ui-datepicker-div .ui-timepicker-div .ui-slider-horizontal {
  vertical-align: middle;
  height: 1.6em;
}
#ui-datepicker-div .ui-timepicker-div .ui-slider-horizontal .ui-slider-handle {
  height: 2em;
}
#ui-datepicker-div .ui-timepicker-div .ui-widget-header {
  margin-bottom: 8px;
}
#ui-datepicker-div .ui-timepicker-div dl {
  text-align: left;
}
#ui-datepicker-div .ui-timepicker-div dl dt {
  float: left;
  clear: left;
  padding: 0 0 0 5px;
}
#ui-datepicker-div .ui-timepicker-div dl dd {
  margin: 0 10px 10px 65px;
}
#ui-datepicker-div .ui-timepicker-div .ui_tpicker_hour .ui_tpicker_hour_slider {
  padding-right: 2px;
}
#ui-datepicker-div .ui-timepicker-div .ui_tpicker_minute .ui_tpicker_minute_slider {
  padding-right: 2px;
}
#ui-datepicker-div .ui-timepicker-div .ui_tpicker_second div {
  padding-right: 6px;
}
#ui-datepicker-div .ui-timepicker-div td {
  font-size: 90%;
}
#ui-datepicker-div .ui-timepicker-div.ui-timepicker-rtl {
  direction: rtl;
}
#ui-datepicker-div .ui-timepicker-div.ui-timepicker-rtl dl {
  text-align: right;
  padding: 0 5px 0 0;
}
#ui-datepicker-div .ui-timepicker-div.ui-timepicker-rtl dl dt {
  float: right;
  clear: right;
}
#ui-datepicker-div .ui-timepicker-div.ui-timepicker-rtl dl dd {
  margin: 0 40% 10px 10px;
}
#ui-datepicker-div .ui-datepicker-buttonpane button {
  height: 30px;
}
/* UserSettings */
.container {
  background-color: white;
}
#settings .container .hd,
#settings .container .hd TD {
  background-color: #95b3de;
  padding: 1px 1px 1px 3px;
  font-weight: bold;
  text-align: left;
  color: #ffffff !important;
  font-size: 11px !important;
}
#settings .container .bd {
  background-color: white;
  font-size: 11px;
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
}
/* Event entry form */
.tblEvent {
  width: 100%;
}
.fmCategories {
  display: table;
  width: 100%;
}
.fmLabel {
  display: table-cell;
  width: 30px !important;
  text-align: left;
  vertical-align: middle;
}
.fmColumn {
  display: table-column;
  width: 30px;
}
.fmCell {
  display: table-cell;
}
.fmSpacing {
  margin-top: 3px;
}
div.fmImageButton {
  display: inline-block;
}
.fmTextBox,
.fmDropDownList {
  width: 80%;
  border: solid 1px #266199;
  border-collapse: collapse;
  color: #266199;
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  height: 20px;
  line-height: 20px;
  padding: 6px;
  text-align: left;
  margin: 0 20px 0 0;
  border-radius: 0;
  -webkit-appearance: none;
}
.fmDropDownList {
  height: 34px;
  width: 82%;
}
.ui-icon a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.label {
  display: inline-block;
  float: left;
  width: 130px;
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  font-size: 13px;
  line-height: 30px;
  padding-right: 10px;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}
.field {
  display: block;
  float: left;
  width: 100%;
  max-width: 400px;
}
.field .dateEventDate,
.field .dateEventDate2 {
  width: 130px;
  margin-right: 0;
}
.field .txtMeasurement,
.field .txtMeasurement2 {
  width: 163px;
}
.trEventId .field {
  max-width: 320px;
}
.trEventId .label {
  line-height: normal;
}
.trEventDate .field .ui-datepicker-trigger,
.trEventDate2 .field .ui-datepicker-trigger {
  margin-top: -3px;
  margin-right: 20px;
  border: 1px solid #266199;
  border-left: none;
  padding: 6px;
  cursor: pointer;
  background-color: #e8eefa;
  height: 20px;
  width: 20px;
}
.trEventDate .field .ui-datepicker-trigger:hover,
.trEventDate2 .field .ui-datepicker-trigger:hover {
  background-color: #d0e1f9;
}
.tdPadding {
  padding-bottom: 20px !important;
}
.tdField {
  font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
}
.tdLabel label {
  padding-right: 10px;
}
.top {
  vertical-align: top;
}
.last-modified {
  float: right;
  font-size: 11px;
  font-style: italic;
}
.buttonwrapper {
  font-size: 12px;
  margin-left: 130px;
  margin-bottom: 10px;
  max-width: 400px;
}
.buttonwrapper .deleteButton {
  float: right;
  margin-right: 50px;
}
.ui-state-default {
  vertical-align: middle;
}
.red {
  color: red;
}
/* DNN Pager */
.pager {
  border: 0;
}
.pager td {
  padding-right: 10px;
}
.inactive {
  color: #000000;
}
@media (max-width: 767px) {
  input[type='text'],
  textarea,
  .fmTextBox {
    font-size: 16px;
    line-height: 30px;
    height: 30px;
  }
  .fmDropDownList {
    font-size: 16px;
    height: 44px;
  }
  .editArea {
    min-height: 50px;
  }
  .ItemTemplate {
    padding: 5px 0;
  }
  #cmdEdit {
    display: none;
  }
  .topnavi .left {
    display: none;
  }
  .topnavi .center {
    display: none;
  }
  .topnavi .right {
    width: 100%;
    float: left;
  }
  .topnavi .right .cmdAdd {
    margin-top: 10px;
    margin-left: 5px;
    float: left;
  }
  .topnavi .right .ddlFilterCategory {
    font-size: 16px;
    line-height: 30px;
    height: 30px;
    margin-top: 10px;
    margin-right: 5px;
  }
  .pager {
    display: none;
  }
  .buttonwrapper {
    font-size: 12px;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .buttonwrapper .deleteButton {
    margin-right: 15%;
  }
  .label {
    display: block;
    line-height: normal;
    width: 90%;
    text-align: left;
    margin-bottom: 2px;
    margin-top: 5px;
  }
  .label.lblEventId {
    display: none;
  }
  .label.lblCategory {
    margin-bottom: 4px;
  }
  .field .txtMeasurement,
  .field .txtMeasurement2 {
    width: 80%;
    margin-right: 20px;
  }
  .trEventDate .field .dateEventDate,
  .trEventDate2 .field .dateEventDate,
  .trEventDate .field .dateEventDate2,
  .trEventDate2 .field .dateEventDate2 {
    width: 160px;
  }
  .trEventDate .field .ui-datepicker-trigger,
  .trEventDate2 .field .ui-datepicker-trigger {
    margin-top: -5px;
    padding: 11px;
    margin-right: 20px;
  }
  .last-modified {
    margin-right: 15%;
  }
  .tdPadding {
    padding: 10px !important;
  }
  .addArea {
    height: 10px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .editArea {
    min-height: 50px;
  }
}
